#!/bin/bash

set -x

cd /tmp

rm -rf setuptools*
cp ~/setuptools-0.6c3.tar.gz .
tar xvfz setuptools-0.6c3.tar.gz
cd setuptools-0.6c3
$PYTHON setup.py install
cd ..

rm -rf Twisted*
cp ~/Twisted-2.5.0.tar.bz2 .
tar xvfj Twisted-2.5.0.tar.bz2
cd Twisted-2.5.0
$PYTHON setup.py install
cd ..

rm -rf zope.interface*
cp ~/zope.interface-3.3.0.tar.gz .
tar xvfz zope.interface-3.3.0.tar.gz
cd zope.interface-3.3.0
$PYTHON setup.py install
cd ..

rm -rf nose
rm -rf $SITE_PACKAGES_PATH/nose*
svn co http://svn.nose.python-hosting.com/trunk/ nose
cd nose
$PYTHON setup.py test
